package com.css.fxfzcpxx.modules.informationAchievement.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.http.client.utils.DateUtils;
import org.springframework.format.annotation.DateTimeFormat;

import java.text.SimpleDateFormat;
import java.util.Date;

@Data
public class InfAchievement {
    //主键id
    private String id;
    //成果名称
    @Excel(name = "成果名称", orderNum = "0", width = 15)
    private String achievementName;
    //成果日期
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布日期", orderNum = "0", width = 15)
    private Date achievementDate;
    //发震时间
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date shockTime;
    //发布状态0已发布1未发布
    @Excel(name = "发布状态", orderNum = "0", width = 15,replace = {"已发布_0", "未发布_1"})
    private String releaseStatus;
    //成果栏目
    @Excel(name = "成果栏目", orderNum = "0", width = 15)
    private String achievementColumn;
    //成果描述
    @Excel(name = "成果描述", orderNum = "0", width = 15)
    private String achievementDescribe;
    //成果上传
    private String achievementUpload;
    //附件
    private String appendix;
    //关键字
    @Excel(name = "关键字", orderNum = "0", width = 15)
    private String keyword;
    //备注
    @Excel(name = "备注", orderNum = "0", width = 15)
    private String remark;
    //创建人
    private String createUser;
    //创建人组织名称
    private String publishingUnit;
    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    //更新人
    private String updateUser;
    //更新时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
    //删除标志0正常1删除
    private String delFlag;

    //数据来源(本系统新增的为0)
    private String dataOrigin;

}
